#include <stdio.h>
//
// for open()
// for umask()
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

int main(int argc, char *argv[]){
    umask(0);
    //open("log.txt", O_WRONLY);
    //open("log.txt", O_WRONLY | O_CREAT);
    open(argv[1],O_WRONLY | O_CREAT, 0666);
    return 0;
}
